body{
  margin: 0;
  padding: 0;
  background: #f6f6f6;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button,input{
  border: 1px solid transparent;
  outline: none;
}

/* 鼠标到button指针变手型 */
button {
  cursor: pointer;
}

ul,li {
  list-style: none;
  /* 取消小圆点 */
}

a {
  text-decoration: none;
  /* 取消下划线 */
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /*如果有padding的话，不撑大，往内边挤压*/
}


/* 标题栏 */
.header1 {
  width: 100%;
  background: #fff;
}
.header {
  display: flex;
  align-items: center;
  height: 3rem;
  margin: 0 6rem;
  overflow: hidden;
}
/* 标题栏底部的线 */
.line {
  display: block;
  width: 100%;
  border-bottom: 1px solid #e7e7e7;
}

.header > ul > li >a {
  display: inline-block;
  padding: 13px 0;
  margin: 0 15px;
  font-size: 15px;
  font-weight: 400;
  color: #8590a6;
}
.header > ul > li:nth-child(1) a {
  font-weight: 600;
  color: #300;
  position: relative;
}
/* 第一个a标签的下划线 */
.header > ul > li:nth-child(1) a:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  height: 4px;
  width: 100%;
  background: #06f;
}

.header .search {
  margin: 0 45px;
  /* height: 2px; */
  /* width: 7px; */
}

.header .search form input {
  padding: 8px 209px 8px 15px;
  /* padding-right: 100px;
  padding-top: 5px;
  padding-bottom: 5px; */
  border: 1px solid #ebebeb;
  border-radius: 50px;
  background: #f6f6f6;
}

.header .search form > button {
  width: 71px;
  height: 33px;
  color: #fff;
  border-radius: 33px;
  background: #06f;
  margin-left: 10px;
}

.header .userInfo > div {
  margin: auto 15px;
}

.header .userInfo button {
  position: relative;
  background: transparent;
}
.header .userInfo svg{
  color: #8590a6;
}
.header .userInfo button > div{
  position: absolute;
  top: -10px;
  left: 50%;
  padding: 2px 6px;
  color: #fff;
  font-size: 11px;
  border-radius: 20px;
  border: 2px solid #fff;
  background: rgb(241, 64, 60);
}

.header .userInfo .userIcon button > img {
  position: relative;
  width: 30px;
  height: 30px;
}
.header .userInfo .userIcon button:after {
  content: "";
  position: absolute;
  top: -5px;
  right: 0px;
  display: block;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: rgb(241, 64, 60);
}

/* 内容 */
.main {
  margin: 10px auto;
  width: 1000px;
  align-items: initial;
}

.content_l {
  width: 694px;
  /* overflow: hidden; */
  margin-right: 10px;
}

.content_l a > img {
  width: 100%;
  border-radius: 2px;
}
.content_l .titleCard {
  margin-top: 8px;
  /* background: #fff; */
}

.content_l .titleCard .recommendCard {
  width: 100%;
  height: 58px;
  border-bottom: 1px solid #f0f2f7;
  border-radius: 2px 0;
  background: #fff;
}
.content_l .titleCard .recommendCard > .flex {
  justify-content: left;
  height: 100%;
}
.content_l .titleCard .recommendCard div > a {
  margin: 0 22px;
  color: #121212;
}
.content_l .titleCard .recommendCard div > a:hover {
  color: #76839B;
}
.content_l .titleCard .recommendCard div > a:first-child {
  color: #06f;
}

.content_l .titleCard .contentCard {
  width: 100%;
}

.content_l .titleCard .contentCard .contentItem {
  padding: 20px;
  width: 100%;
  height: 158px;
  border-bottom: 1px solid #f0f2f7;
  background: #fff;
}
.content_l .titleCard .contentCard .contentItem a {
  color: #646464;
}
.content_l .titleCard .contentCard .contentItem a:hover {
  color: #76839B;
}
.content_l .titleCard .contentCard .contentItem a > h2 {
  color: #121212;
  font-size: 18px;
  line-height: 1.6;
}

.content_l .titleCard .contentCard .contentItem a > h2:hover {
  color: #175199;
}

.content_l .titleCard .contentCard .contentItem > div {
  margin: 9px 0 -4px;
}

.content_l .titleCard .contentCard .contentItem > div > button {
  color: #175199;
  background: transparent;
}
.content_l .titleCard .contentCard .contentItem > div > button:hover {
  color: #333;
}
/* 点赞按钮 */
.content_l .contentCard .statusBar {
  margin: 0 -20px -10px;
  padding: 10px 20px;
}

.content_l .contentCard .statusBar > span >button {
  line-height: 30px;
  padding: 0 12px;
  color: #06f;
  font-size: 14px;
  border: 1px solid #e5efff;
  border-radius: 4px;
  background: #e5efff;
  margin-right: 4px;
}
.content_l .contentCard .statusBar > span >button:hover {
  background: #D9E8FF;
}
.content_l .contentCard .statusBar > button {
  margin-left: 20px;
}

/* 右边内容栏 */
.content_r {
  flex: 1;
  overflow: hidden;
  width: 296px;
}

.content_r .globalWrite {
  width: 100%;
  height: 157px;
  border-radius: 4px;
  background: #fff;
}
.globalWriteTop {
  padding: 20px 15px;
  width: 100%;
  border-bottom: 1px solid #f6f6f6;
}
.content_r .globalWrite a {
  margin-right: 22px;
  color: #444;
}
.content_r .globalWrite a:hover {
  color: #646464;
}
.content_r .globalWrite a:last-child{
  margin-right: 0;
}
.content_r .globalWrite .globalWriteTop a span {
  font-size: 12px;
}

.globalWriteButton {
  /* justify-content: center; */
}

.globalWriteButton a {
  /* display: block; */
  width: 100%;
  margin: 16px 0;
  justify-content: center;
}

.globalWriteButton a:first-child {
  /* height: 100%; */
  border-right: 1px solid #f6f6f6;
}